package routers

import (
	"github.com/astaxie/beego"
)

func init() {

	beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"] = append(beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"],
		beego.ControllerComments{
			Method: "AllProfitList",
			Router: `/all-profit/list`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"] = append(beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"],
		beego.ControllerComments{
			Method: "League2WashRoomProfitList",
			Router: `/lr-profit/list`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"] = append(beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"],
		beego.ControllerComments{
			Method: "GetTimes",
			Router: `/times/get`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"] = append(beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"],
		beego.ControllerComments{
			Method: "ExportList",
			Router: `/list-xlsx`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"] = append(beego.GlobalControllerRouter["qkstatis/controllers:QKStatisController"],
		beego.ControllerComments{
			Method: "WasherProfitList",
			Router: `/washer-profit/list`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

}
